<template>
  <div class="module-dialog">
    <div class="box-mask">
      <div class="box-container">
        <div class="box-content">{{text}}</div>
        <div class="box-bottom">
          <el-button type="primary" @click="$emit('close')">确 定</el-button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "alert",
  props: {
    title: {
      type: String,
      require: true
    },
    text: {
      type: String,
      required: true
    }
  },
  methods: {}
};
</script>

<style lang="scss" scoped>
@import "../dialog.scss";
</style>

